package com.bsierp.business.pojo;

import java.util.HashSet;
import java.util.Set;

/**
 * HireType entity. @author MyEclipse Persistence Tools
 */

public class HireType implements java.io.Serializable {

    // Fields

    private Integer hiretypeId;
    private String hiretypeName;
    private Set employeeHistories = new HashSet(0);
    private Set employees = new HashSet(0);

    // Constructors

    /** default constructor */
    public HireType() {
    }

    /** minimal constructor */
    public HireType(String hiretypeName) {
        this.hiretypeName = hiretypeName;
    }

    /** full constructor */
    public HireType(String hiretypeName, Set employeeHistories, Set employees) {
        this.hiretypeName = hiretypeName;
        this.employeeHistories = employeeHistories;
        this.employees = employees;
    }

    // Property accessors

    public Integer getHiretypeId() {
        return this.hiretypeId;
    }

    public void setHiretypeId(Integer hiretypeId) {
        this.hiretypeId = hiretypeId;
    }

    public String getHiretypeName() {
        return this.hiretypeName;
    }

    public void setHiretypeName(String hiretypeName) {
        this.hiretypeName = hiretypeName;
    }

    public Set getEmployeeHistories() {
        return this.employeeHistories;
    }

    public void setEmployeeHistories(Set employeeHistories) {
        this.employeeHistories = employeeHistories;
    }

    public Set getEmployees() {
        return this.employees;
    }

    public void setEmployees(Set employees) {
        this.employees = employees;
    }

}